package cn.rumoss.innerclass;

/**
 * @ClassName Dog
 * @Description 测试内部类行为
 * @Author HeCG
 * @Date 19-3-7 上午9:18
 */
public class Dog {

    private int age;

    public int getAge()
    {
        return age;
    }

    public void setAge(int age)
    {
        this.age = age;
    }

    public void happyBirthday()
    {
        this.age++;
    }

}
